import 'package:flutter/material.dart';
import 'package:flutter_app/components/no-record.dart';
import 'package:flutter_app/components/layout.dart';
class FundHoldPage extends StatefulWidget {
  @override
  _FundHoldPageState createState() => _FundHoldPageState();
}

class _FundHoldPageState extends State<FundHoldPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        brightness: Brightness.dark,
        backgroundColor: Colors.blueAccent[400],
        elevation: 0,
        title: HeadTitle('严选基金'),
        centerTitle: true,
      ),
      body: Column(
        children: [
          Container(
            padding:EdgeInsets.symmetric(vertical: 30.0),
            width: MediaQuery.of(context).size.width,
            decoration: BoxDecoration(
              color: Colors.blueAccent[400]
            ),
            child: Column(
              children: [
                Text('0.00 USD',style: TextStyle(color: Colors.white,fontSize: 18),),
                Text('持有金额',style: TextStyle(color: Colors.white54),),
              ],
            ),
          ),
          Expanded(child:  NoRecord())
        ],
      ),
    );
  }
}
